## -*- Makefile -*-
##
## User: adamski
## Time: 24-Jul-2011 09:38:15
## Makefile created by Oracle Solaris Studio.
##
## This file is generated automatically.
##


#### Compiler and tool definitions shared by all build targets #####
CCC = g++
CXX = g++
BASICOPTS = -g
CCFLAGS = $(BASICOPTS)
CXXFLAGS = $(BASICOPTS)
CCADMIN = 


# Define the target directories.
TARGETDIR_application.fcgi=GNU-i386-Linux


all: $(TARGETDIR_application.fcgi)/application.fcgi

## Target: application.fcgi
OBJS_application.fcgi =  \
	$(TARGETDIR_application.fcgi)/Application.o \
	$(TARGETDIR_application.fcgi)/main.o \
	$(TARGETDIR_application.fcgi)/URLParser.o
USERLIBS_application.fcgi = /usr/local/lib/libfastcgipp.so /usr/lib/libboost_thread.so $(SYSLIBS_application.fcgi) 
DEPLIBS_application.fcgi =    
LDLIBS_application.fcgi = $(USERLIBS_application.fcgi)


# Link or archive
$(TARGETDIR_application.fcgi)/application.fcgi: $(TARGETDIR_application.fcgi) $(OBJS_application.fcgi) $(DEPLIBS_application.fcgi)
	$(LINK.cc) $(CCFLAGS_application.fcgi) $(CPPFLAGS_application.fcgi) -o $@ $(OBJS_application.fcgi) $(LDLIBS_application.fcgi)


# Compile source files into .o files
$(TARGETDIR_application.fcgi)/Application.o: $(TARGETDIR_application.fcgi) Application.cpp
	$(COMPILE.cc) $(CCFLAGS_application.fcgi) $(CPPFLAGS_application.fcgi) -o $@ Application.cpp

$(TARGETDIR_application.fcgi)/main.o: $(TARGETDIR_application.fcgi) main.cpp
	$(COMPILE.cc) $(CCFLAGS_application.fcgi) $(CPPFLAGS_application.fcgi) -o $@ main.cpp

$(TARGETDIR_application.fcgi)/URLParser.o: $(TARGETDIR_application.fcgi) URLParser.cpp
	$(COMPILE.cc) $(CCFLAGS_application.fcgi) $(CPPFLAGS_application.fcgi) -o $@ URLParser.cpp



#### Clean target deletes all generated files ####
clean:
	rm -f \
		$(TARGETDIR_application.fcgi)/application.fcgi \
		$(TARGETDIR_application.fcgi)/Application.o \
		$(TARGETDIR_application.fcgi)/main.o \
		$(TARGETDIR_application.fcgi)/URLParser.o
	$(CCADMIN)
	rm -f -r $(TARGETDIR_application.fcgi)


# Create the target directory (if needed)
$(TARGETDIR_application.fcgi):
	mkdir -p $(TARGETDIR_application.fcgi)


# Enable dependency checking
.KEEP_STATE:
.KEEP_STATE_FILE:.make.state.GNU-i386-Linux

